#ifndef KINITIALIZATIONSETTINGS_H
#define KINITIALIZATIONSETTINGS_H

#include "kpublicjsonobjecthandle.h"
#include <QObject>
#include <QDir>
#include <QJsonDocument>
class KInitializationSettings : public QObject
{
    Q_OBJECT
public:
    explicit KInitializationSettings(QObject *parent = nullptr);
    bool checkAndCreateInitializeSETUPDir();
    bool checkAndCreateKCFDirLocationDir();
    void checkAndCreateFileToInitializeSettings();
    QByteArray setupKCFDirLocation();
    QByteArray readKCFDirLocationFromJsonObject(QJsonObject jsonObject);
private:
    QByteArray byteArraySETUPDir="./SETUP";
    QByteArray byteArrayKCFDirLocationDir;
    // ="./KCFDirLocation";
    KPublicJsonObjectHandle KPJOH;
signals:
};

#endif // KINITIALIZATIONSETTINGS_H
